home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / hard / hack / i2clib40.lha / i2clib40 / src / README < prev    next >
Text File  |  1999-01-10  |  2KB  |  55 lines

  1.  
  2. Here's the source code for the utilities from the "bin" directory,
  3. plus some sample code for accessing special I²C chips (VPS decoder,
  4. melody chip and a 4×7 LED display).
  5.  
  6. These programs were written for the GNU C compiler. They should work
  7. with others as well, however GNU C is the one with smoothest support
  8. for installing the i2clib include files (see "Developers" directory).
  9.  
  10. Regarding the special chips: If you already own such hardware, good
  11. for you, but there is no documentation on building the hardware, and
  12. I'm not going to supply any (with one exception, see below).
  13.  
  14. You can retrieve data sheets for many I2C chips in PDF format from the
  15. Philips homepage. Try
  16.  
  17.     http://www-eu.semiconductors.philips.com/products/
  18.  
  19. In particular, these are the URLs for the chips mentioned above:
  20.  
  21.     http://www-eu.semiconductors.philips.com/acrobat/datasheets/SAA4700_CNV_2.pdf
  22.     http://www-eu.semiconductors.philips.com/acrobat/datasheets/PCD3311C_3312C_2.pdf
  23.     http://www-eu.semiconductors.philips.com/acrobat/datasheets/SAA1064_CNV_2.pdf
  24.  
  25. In case Philips have rearranged their website in the meantime and
  26. the above links should fail, simply start at http://www.philips.com.
  27.  
  28.  
  29.  
  30. The PCD3312 DTMF/modem/musical-tone generator
  31. ---------------------------------------------
  32.            __  __
  33.    GND 1 -|  \/  |- 8 SDA
  34.    +5V 2 -|      |- 7 SCL
  35.   OSCI 3 -|      |- 6 A0
  36.   OSCO 4 -|______|- 5 TONE
  37.  
  38. OSCI/OSCO: connect a 3.58 MHz quartz here
  39. A0: connect to GND for slave address 0x48
  40.      "       " +5V  "   "     "      0x4a
  41. TONE: DON'T connect a loudspeaker directly, that wouldn't work anyway,
  42.     rather do something like this:
  43.  
  44.         100nF
  45. TONE ----||-----+      Ampl.
  46.                 |
  47.                 #  ____|\      __/|
  48.         10kOhm  #<-    | >----|  ||
  49.                 #    +-|/   +-|__||
  50.                 |    |      |    \|
  51.                _|_  _|_    _|_
  52.  
  53.                GND
  54.  
  55.